<div class="box-header">
<div id="content">
<h3>Search Product</h3>
</div>
</div>
<div class="box-table-log">
<table>
      <tr>
      				<th>ID Product</th>
                    <th>Name Product</th>
                    <th>Name User</th>
                    <th>Update Date</th>
                    <th>Description</th>
                    <th>Operation</th>
     	</tr>
     	<?php foreach ($this->pagingsearch as $key=>$value){?>
                    <tr id="<?php echo $value['id_product']?>">
                    <td><?php echo $value['id_product']?></td>
                    <td><?php echo $value['name_product']?></td>
                    <td><?php echo $value['username']?></td>
                    <td><?php echo $value['dateproduct']?></td>
                    <td><?php echo $value['descript']?></td>
                    <td>
                   <span><a href="<?php echo $this->url(array('controller'=>'product','action'=>'viewedit','module'=>'admin','id'=>$value['id_product']))?>"><img src="<?php echo $this->imgs?>/user_edit.png" alt="edit"/></a> | <a href="javascript:void(0)" onclick="javascript:delpro(<?php echo $value['id_product']?>)"><img src="<?php echo $this->imgs?>/trash.png" alt="delete"/></a></span>
                     </td>
                    </tr>
                    <?php }?>
</table>
<?php echo $this->paginationControl($this->pagingsearch,'Jumping','product/pagingsearch.phtml')?>
</div>